import 'package:flutter_framework/utils/http/dio_utils.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:retrofit/retrofit.dart';
import 'package:dio/dio.dart';

import '../model/task_model.dart';

part 'test_network_client.g.dart';

@RestApi(baseUrl: "")
abstract class TestNetworkClient {
  factory TestNetworkClient(Dio dio, {String baseUrl}) = _TestNetworkClient;
  static TestNetworkClient get acquire {
    return TestNetworkClient(DioUtils.dio);
  }

  @GET("/api/didcard/list/publishcard/get")
  Future<dynamic> getTasks();
}
